package com.lsl.bhllserver.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lsl.bhllserver.entity.userabstract.User;

@TableName("user_business")
public class Business extends User implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String busName;
    private String busPassword;
    private String busPhone;
    private String busAddress;
    private String busCaption;

    public Business() {
    }
    
    public Business(Integer id, String busName, String busPassword, String busPhone, String busAddress, String busCaption) {
        this.id = id;
        this.busName = busName;
        this.busPassword = busPassword;
        this.busPhone = busPhone;
        this.busAddress = busAddress;
        this.busCaption = busCaption;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBusName() {
        return busName;
    }

    public void setBusName(String busName) {
        this.busName = busName;
    }

    public String getBusPassword() {
        return busPassword;
    }

    public void setBusPassword(String busPassword) {
        this.busPassword = busPassword;
    }

    public String getBusPhone() {
        return busPhone;
    }

    public void setBusPhone(String busPhone) {
        this.busPhone = busPhone;
    }

    public String getBusAddress() {
        return busAddress;
    }

    public void setBusAddress(String busAddress) {
        this.busAddress = busAddress;
    }

    public String getBusCaption() {
        return busCaption;
    }

    public void setBusCaption(String busCaption) {
        this.busCaption = busCaption;
    }

    @Override
    public String toString() {
        return "Business [id=" + id + ", busName=" + busName + ", busPassword=" + busPassword + ", busPhone=" + busPhone
                + ", busAddress=" + busAddress + ", busCaption=" + busCaption + "]";
    }

}
